<?php 
$CI =& get_instance();
$CI->load->library("admin/admin_header_lib"); 
$CI->admin_header_lib->display_header_element(array("script"=>array("jquery")));
$CI->admin_header_lib->display_header();

$CI->load->library('admin/admin_sidebar_lib');
$CI->admin_sidebar_lib->display_sidebar();

?>
<div class="admin_right">
<!--End  List-->
<div style="height:7px;"></div>
<h2 class="head02">uploads</h2>
<div class="line6"></div>
 <table width="100%" class="grid_tbl">
       
      <!-- <tr><td>Full Name</td><td>Company</td><td>Telephone</td><td>Deadline</td><td>Action</td></tr>-->
        <?php if(!empty($artworks_list)): ?>
        <?php foreach($artworks_list as $key=>$value): ?>
        <tr>
        <td><?php echo $value['artwork_fullname']; ?></td>
		<td><?php echo $value['artwork_company']; ?></td>
        <td><?php echo $value['artwork_telephone']; ?></td>
        <td ><?php echo $value['artwork_deadline']; ?></td>
		
		<td align="right";>
        <a class="red13" href="<?php echo site_url('admin/upload_artwork/detail/'.$value['artwork_id'].'/'.$page); ?>">detail</a> <span style="color:#d560ac">|</span> 
        <a class="red13" href="<?php echo site_url('admin/upload_artwork/delete/'.$value['artwork_id'].'/'.$page); ?>" onclick="return confirm('Are you sure you want to delete?')">delete</a></td>
		</tr>
        <?php endforeach; ?>
        <?php endif; ?>
       
 </table>
 
<div class="height10"></div>
 <div class="pagination">
	<?php echo $pagination; ?>
</div>
<div class="height10"></div>
<div class="line6"></div>
<?php /*  end of all  content  */ ?>
</div><!-- page noright -->

<?php  $this->load->view(TEMPLATE_NAME.'/admin/footer');?>

